<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of Stations
 *
 * @author mzygadlo
 */
class Auth extends TJsonResponse {

    public function getJsonContent() {
        $userID = $this->Request["uid"];
//operacje na bazie 
        $poss = array();
        $handlowiec = Handlowiec::finder()->findByPk($userID);

        $poss[] = array("Imie" => $handlowiec->Imie,
            "Nazwisko" => $handlowiec->Nazwisko,
            "Telefon" => $handlowiec->Telefon);

        return $poss;
    }

}

?>
